package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.OrderPaymentExecutionEntity;

/**
 * 采购订单付款执行明细Mapper接口
 *
 * @author wutao
 * @date 2024-06-23
 */
public interface OrderPaymentExecutionMapper extends BaseMapper<OrderPaymentExecutionEntity> {
    /**
     * 查询采购订单付款执行明细
     *
     * @param id 采购订单付款执行明细ID
     * @return 采购订单付款执行明细
     */
    public OrderPaymentExecutionEntity selectOrderPaymentExecutionEntityById(String id);

    /**
     * 查询采购订单付款执行明细列表
     *
     * @param orderPaymentExecutionEntity 采购订单付款执行明细
     * @return 采购订单付款执行明细集合
     */
    public List<OrderPaymentExecutionEntity> selectOrderPaymentExecutionEntityList(OrderPaymentExecutionEntity orderPaymentExecutionEntity);

    /**
     * 新增采购订单付款执行明细
     *
     * @param orderPaymentExecutionEntity 采购订单付款执行明细
     * @return 结果
     */
    public int insertOrderPaymentExecutionEntity(OrderPaymentExecutionEntity orderPaymentExecutionEntity);

    /**
     * 修改采购订单付款执行明细
     *
     * @param orderPaymentExecutionEntity 采购订单付款执行明细
     * @return 结果
     */
    public int updateOrderPaymentExecutionEntity(OrderPaymentExecutionEntity orderPaymentExecutionEntity);

    /**
     * 删除采购订单付款执行明细
     *
     * @param id 采购订单付款执行明细ID
     * @return 结果
     */
    public int deleteOrderPaymentExecutionEntityById(String id);

    /**
     * 批量删除采购订单付款执行明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteOrderPaymentExecutionEntityByIds(String[] ids);
}
